import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import home from './components/home'
import list from './components/list'
import jichu from './components/jichu'
import kk from './components/kk'




Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'home',
      component: home,
      children:[
        {
          path: '/list',
          component: list,
          children:[
            {
              path: '/jichu',
              component: jichu,
            },
            {
              path: '/kk',
              component: kk,
            },

          ]
        },
      ]

    },

  ]
})
